package io.renren.modules.photo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.renren.common.entity.BaseEntity;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author huan.xu
 * @Date 2022/11/11 19:12
 * @Description 照片标签关联表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("photo_label_rela")
public class PhotoLabelRelaEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 照片信息id
     */
    @TableField("info_id")
    private Long infoId;

    /**
     * 标签信息id
     */
    @TableField("label_id")
    private Long labelId;

    /**
     * 更新者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;
}
